$(function(){  
	$(".deleteVersion").click(function(){
		var obj=$(this);
		if(obj.status!=2){
			window.location.href="/appmanager/version/delete?id="+obj.attr("versionId")+"&appId="+obj.attr("appId");
		}else{
			alert("已上架版本不可以删除");
		}
	});

});
      
      
      